SOURCES= builtin.c carga.c ejecutar.c main.c parser.c presentacion.c scommand.c spipe.c string_tokenizer.c transformer.c
CC=gcc
CFLAGS= -g -Wall -Wextra -Wdeclaration-after-statement -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Werror 
OBJECTS=$(SOURCES:.c=.o)
TARGET= main 
LIBS =

all: $(TARGET)

clean:
	rm -f $(TARGET) $(OBJECTS) .depend 

distclean:
	rm -f $(TARGET) $(OBJECTS) .depend *~ *.tgz

$(TARGET): $(OBJECTS)
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
